package com.ccut.lc.dao;

import com.ccut.lc.model.Order;
import com.ccut.lc.model.QueryVo;
import com.ccut.lc.utils.Page;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface OrderListMapper {
    public void addOrder(Order ol);
    public void delOrder(Integer oid);
    public List<Order> selOrderList(QueryVo queryVo);
    public List<Order> selOrderList(String uid,String state);
    public void updateOrder(Order order);
    int getTotal(QueryVo queryVo);
    Order findOrderByID(Integer id);

    void updateOrderState(Order order);
}
